Northwoods.GoSilverlight 1.3.5 Assembly
FindCategoryForNode Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : FindCategoryForNode Method

nodedata
Find the category of a node data.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function FindCategoryForNode( _
   ByVal nodedata As NodeType _
) As String
C# 
protected virtual string FindCategoryForNode( 
   NodeType nodedata
)

Parameters

nodedata

Return Value

by default an empty string

Remarks

This is called on each node data that is added to the model, to decide which template to use.

This is used for model discovery. This method can be overridden in case the NodeCategoryPath property path is not flexible enough or fast enough to determine the value.

Requirements

See Also

© 2012 All Rights Reserved.